home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRREEEEAAAALLLLPPPPAAAATTTTHHHH((((1111)))) RRRREEEEAAAALLLLPPPPAAAATTTTHHHH((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- readlink - prints the value of a symbolic link
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////lllliiiibbbb////ddddeeeesssskkkkttttoooopppp////rrrreeeeaaaaddddlllliiiinnnnkkkk _p_a_t_h
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _r_e_a_d_l_i_n_k provides command-line access to the readlink(2) system call.
- _r_e_a_d_l_i_n_k uses the readlink(2) system call to print the value of a
- symbolic link to stdout. If _p_a_t_h is not a symbolic link, _p_a_t_h is printed
- ant a non-zero exit status is returned.
-
- The _r_e_a_d_l_i_n_k command is intended for use by developers who need access to
- symbolic link contents for their FTR rules.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- Suppose that /usr/people/guest is a symlink to
- /otherdisk/usr/people/guest and that the current working directory is
- /usr/people.
-
- % /usr/lib/desktop/readlink /usr/people/guest
- /otherdisk/usr/people/guest
- % echo $status
- 0
-
- % /usr/lib/desktop/readlink guest
- /otherdisk/usr/people/guest
- % echo $status
- 0
-
- % /usr/lib/desktop/readlink aBadFileName
- aBadFileName
- % echo $status
- 255
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- readlink(2), realpath(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-